﻿using System.Configuration;

namespace Mbs.Configuration
{
    [ConfigurationCollection(typeof(ConfigurationElement))]
    public class ModuleElementCollection:ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new ModuleElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return ((ModuleElement)element).AssemblyFile;
        }
    }
}
